/*-------------------------------- Arctic Core ------------------------------
 * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com.
 * Contact: <contact@arccore.com>
 * 
 * You may ONLY use this file:
 * 1)if you have a valid commercial ArcCore license and then in accordance with  
 * the terms contained in the written license agreement between you and ArcCore, 
 * or alternatively
 * 2)if you follow the terms found in GNU General Public License version 2 as 
 * published by the Free Software Foundation and appearing in the file 
 * LICENSE.GPL included in the packaging of this file or here 
 * <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>
 *-------------------------------- Arctic Core -----------------------------*/

#ifndef GPT_CONFIGTYPES_H
#define GPT_CONFIGTYPES_H

typedef void (*GptNotificationType)( void );


typedef struct  {
    Gpt_ChannelType GptChannelId;
    Gpt_ChannelMode GptChannelMode;
    GptNotificationType GptNotification;
    uint8 GptNotificationPriority;
    uint32 GptChannelPrescale;
#if defined(CFG_ZYNQ) || defined(CFG_RH850) || defined(CFG_TMS570) || defined(CFG_JAC5) || defined(CFG_JAC5E) || defined(CFG_JAC6)
    boolean GptEnableWakeup;
#endif
#if (GPT_REPORT_WAKEUP_SOURCE == STD_ON)
    EcuM_WakeupSourceType GptWakeupSource;
#endif
} Gpt_ConfigType;

#endif /* GPT_CONFIGTYPES_H */
